package com.example.demo.demos.gateway;

public class NetworkInfo {
    public static void main(String[] args) {
        String gateway = GatewayFinder.getGateway();

        System.out.println("网关地址: " + 
            (gateway != null ? gateway : "无法获取"));
    }
}